/*
 * CDPSCoreStats.java
 * 
 * Copyright (c) 2009 Giles Millward (Manigra). All rights reserved.
 * 
 * This file is part of Expression program is undefined on line 8, column 40 in Templates/Licenses/license-gplv3.txt..
 * 
 * Expression program is undefined on line 10, column 19 in Templates/Licenses/license-gplv3.txt. is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Expression program is undefined on line 15, column 19 in Templates/Licenses/license-gplv3.txt. is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Expression program is undefined on line 21, column 30 in Templates/Licenses/license-gplv3.txt..  If not, see <http://www.gnu.org/licenses/>.
 */
package dpsinterface;

import geardatabase.CStats;
import jroguedps.CGlobal;

// BOK and Darkmoon Card: Greatness proc
//
//Stat    None    Greatness BOK     BOK & Greatness
//-------------------------------------------------
// Agi    1123    1423      1235    1565
// AP     3438    3738      3562    3892   -- BOK does not apply to Attack Power
// Crit   33.25   36.85     34.59   38.55
// Str    112     112       134     134
//
/**
 *
 * @author Mani
 */
public class CDPSCoreStats {

    public CDPSInterface m_dpsInterface;
    public CStats m_coreStats;

    public CDPSCoreStats(CDPSInterface p_dpsInterface) {
        m_dpsInterface = p_dpsInterface;

        // Setup to contain flat stats before multipliers
        // Each iteration run will clone these values and use them
        // within that run. Procs that alter stats will need to recalculate
        // the stats. An example would be Darkmoon Card: Greatness that procs
        // agility, so agility gets modified which means attack power also
        // needs to be recalculated as well as crit
        m_coreStats = CGlobal.g_paperDoll.getTotalStats();
        m_coreStats.add(CGlobal.g_raidBuffs.getTotalStats());
    }
}
